This repository was archived by the owner on Feb 23, 2025. It is now read-only.
fix(deps): update dependency effect to v3.12.7 #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
3.12.5->3.12.7Release Notes
Effect-TS/effect (effect)
v3.12.7Compare Source
Patch Changes
8dff1d1Thanks @KhraksMamtsov! - Fix: Cannot find name 'MissingSelfGeneric'.v3.12.6Compare Source
Patch Changes
#4307
289c13bThanks @gcanti! - Schema: Enhance error messages for discriminated unions.Before
After
import { Schema } from "effect" const schema = Schema.Union( Schema.Tuple(Schema.Literal(-1), Schema.Literal(0)).annotations({ identifier: "A" }), Schema.Tuple(Schema.NonNegativeInt, Schema.NonNegativeInt).annotations({ identifier: "B" }) ).annotations({ identifier: "AB" }) Schema.decodeUnknownSync(schema)([-500, 0]) /* throws: ParseError: AB -├─ { readonly 0: -1 } +├─ A │ └─ ["0"] │ └─ Expected -1, actual -500 └─ B └─ [0] └─ NonNegativeInt └─ From side refinement failure └─ NonNegative └─ Predicate refinement failure └─ Expected a non-negative number, actual -500 */#4298
8b4e75dThanks @KhraksMamtsov! - Added type-level validation for theEffect.Servicefunction to ensure theSelfgeneric parameter is provided. If the generic is missing, theMissingSelfGenerictype will be returned, indicating that the generic parameter must be specified. This improves type safety and prevents misuse of theEffect.Servicefunction.#4292
fc5e0f0Thanks @gcanti! - ImproveUnknownExceptionerror messagesUnknownExceptionerror messages now include the name of the Effect api thatcreated the error.
#4309
004fd2bThanks @gcanti! - Schema: Enforce Finite Durations inDurationFromNanos.This update ensures that
DurationFromNanosonly accepts finite durations. Previously, the schema did not explicitly enforce this constraint.A filter has been added to validate that the duration is finite.
#4314
b2a31beThanks @gcanti! - Duration: makeDurationValueproperties readonly.#4287
5514d05Thanks @gcanti! - Array: FixEitherimport and correctpartitionexample.#4301
bf5f0aeThanks @gcanti! - Schema: FixBigIntFromNumberto enforce upper and lower bounds.This update ensures the
BigIntFromNumberschema adheres to safe integer limits by applying the following bounds:#4228
3b19bcfThanks @fubhy! - Fixed conflictingParseErrortags betweenCronandSchema#4294
b064b3bThanks @tim-smart! - ensure cause is rendered in FiberFailure#4307
289c13bThanks @gcanti! - Schema: Add Support for Infinity inDuration.This update adds support for encoding
Duration.infinityinSchema.Duration.Before
Attempting to encode
Duration.infinityresulted in aParseErrordue to the lack of support forInfinityinSchema.Duration:After
The updated behavior successfully encodes
Duration.infinityas[ -1, 0 ]:#4300
f474678Thanks @gcanti! - Schema: updateplucktype signature to respect optional fields.Before
After
#4296
ee187d0Thanks @gcanti! - fix: updateCause.isCausetype from 'never' to 'unknown'Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.